package com.yeyks.commonReference.service.vip;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.vip.dal.domain.VipCommissionOverview;


/**
 * <p>
 * vip订单分佣总览表 服务类
 * </p>
 *
 * @author shuai
 * @since 2019-08-21
 */
public interface VipCommissionOverviewService extends IService<VipCommissionOverview> {

    /**
     * 通过分佣账户id获取vip分佣账户
     *
     * @param id
     * @return
     */
    VipCommissionOverview selectByAccountId(Integer id);

    /**
     * vip佣金提现拒绝或失败余额回退
     *
     * @param orderNo
     * @param remark
     */
    Boolean remainAdd(String orderNo, String remark);
}
